package com.meowcook.dao;

import com.meowcook.pojo.dto.ReplyListDTO;
import com.meowcook.pojo.po.Reply;

import java.util.List;

public interface ReplyMapper {
    int insert(Reply row);

    int insertSelective(Reply row);

    Reply selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Reply row);

    int updateByPrimaryKey(Reply row);

    /**
     * 请求回复列表
     * @param replyListDTO 请求参数
     * @return List<Reply>
     */
    List<Reply> selectByCommentId(ReplyListDTO replyListDTO);
}